// 表单校验规则由 schema2code 生成，不建议直接修改校验规则，而建议通过 schema2code 生成, 详情: https://uniapp.dcloud.net.cn/uniCloud/schema


const validator = {
  "zilei_cat_id_guanlian": {
    "rules": [
      {
        "format": "string"
      }
    ],
    "label": "关联分类"
  },
  "name": {
    "rules": [
      {
        "required": true
      },
      {
        "format": "string"
      }
    ],
    "label": "名称"
  },
  "cat_id": {
    "rules": [
      {
        "required": true
      },
      {
        "format": "int"
      }
    ],
    "label": "ID (和苹果CMS分类ID设置一样即可)"
  },
  "app_sort": {
    "rules": [
      {
        "required": true
      },
      {
        "format": "int"
      }
    ],
    "label": "客户端排序 (你想怎么排序就怎么排序，软件是按照你设置的排序顺序)"
  }
}

const enumConverter = {}

export { validator, enumConverter }
